ISCModelProperty::Value Arguments (Get Function)

Here is the signature for the Value (Get) function:

VARIANT Value(VARIANT ValueId, VARIANT ValueType)

The following table contains the valid arguments for the Value (Get) function:

Parameter

Valid Type/Value

Description

ValueId [optional]

Empty

Valid for a scalar property only.

ValueId [optional]

VT_BSTR � Name of a non-scalar element

Ignored if the property is scalar. If the property is multi-valued, indicates an element by name.

ValueId [optional]

VT_I4 � Index of a non-scalar element

Ignored if the property is scalar. If the property is multi-valued, indicates an element by a zero-based index.

ValueType [optional]

Empty

Indicates a native datatype for return values.

ValueType [optional]

VT_I4 � SCVT_DEFAULT

Indicates a native datatype for return values.

ValueType [optional]

VT_I4 � SCVT_BSTR

Indicates a conversion to a string for return values.